package com.wlsk.license.service;

import com.wlsk.license.common.result.Result;
import com.wlsk.license.dto.response.feign.OssObjectInfoResultDto;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface IFileUploadService {

    /**
     * 获取文件url
     *
     * @param fileId 文件id
     * @return
     */
    public String getFile(Long fileId);

    /**
     * 批量获取文件url
     *
     * @param fileId 文件id
     * @return
     */
    public List<String> getFile(List<Long> fileId);

    public Result<OssObjectInfoResultDto> uploadOss(MultipartFile ossObject);
}
